<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
 <s:form action="user">
     <s:textfield name="username" label="用户名"/>
     <s:submit value="检测" method="check"/>
     <s:submit value="注册" method="reg"/>
 </s:form>
</body>
</html>
